package com.ljc.dao;

import com.ljc.model.Admin;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AdminDao {
    public int create(Admin admin);

    public int delete(Map<String,Object> paramMap);

    public int update(Map<String,Object> paramMap);

    public List<Admin> query(Map<String,Object> paramMap);

    public Admin detail(Map<String,Object> paramMap);

    public int count(Map<String,Object> paramMap);
}
